misc
Class CommandLineOptions

java.lang.Object
  extended by misc.CommandLineOptions

public class CommandLineOptions
extends java.lang.Object

This class is used to interpret commandline parameters specified when starting Genius.


Field Summary
 java.util.List<java.lang.String> agents
          Option "a", specify a list of agents for the commandline runner.
 java.lang.String domain
          Option "d", specify a domain.
 boolean newTournament
          Option "s", automatically open new tournament tab on start up.
 java.lang.String outputFile
          Option "f", specify the output file for the commandline runner.
 java.util.List<java.lang.String> profiles
          Option "p", specify a list of profiles for the commandline runner.
 java.lang.String protocol
          Option "r", specify a protocol for the commandline runner.
 boolean quitWhenTournamentDone
          Option "q", automatically quit after the tournament finished.
 boolean startTournament
          Option "t", automatically start tournament on start up.
 
Constructor Summary
CommandLineOptions()
           
 
Method Summary
 void parse(java.lang.String[] args)
          Method used to parse the commandline options.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

newTournament

public boolean newTournament
Option "s", automatically open new tournament tab on start up.


startTournament

public boolean startTournament
Option "t", automatically start tournament on start up.


quitWhenTournamentDone

public boolean quitWhenTournamentDone
Option "q", automatically quit after the tournament finished.


agents

public java.util.List<java.lang.String> agents
Option "a", specify a list of agents for the commandline runner.


profiles

public java.util.List<java.lang.String> profiles
Option "p", specify a list of profiles for the commandline runner.


protocol

public java.lang.String protocol
Option "r", specify a protocol for the commandline runner.


domain

public java.lang.String domain
Option "d", specify a domain.


outputFile

public java.lang.String outputFile
Option "f", specify the output file for the commandline runner.

Constructor Detail

CommandLineOptions

public CommandLineOptions()
Method Detail

parse

public void parse(java.lang.String[] args)
Method used to parse the commandline options.

Parameters:
args - arguments given to the commandline.